/**
 * Copyright (c) 2012-2018 Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
@external *;
@eval matchingSearchBlockBackgroundColor org.eclipse.che.ide.api.theme.Style.theme.matchingSearchBlockBackgroundColor();
@eval matchingSearchBlockBorderColor org.eclipse.che.ide.api.theme.Style.theme.matchingSearchBlockBorderColor();
@eval currentSearchBlockBackgroundColor org.eclipse.che.ide.api.theme.Style.theme.currentSearchBlockBackgroundColor();
@eval currentSearchBlockBorderColor org.eclipse.che.ide.api.theme.Style.theme.currentSearchBlockBorderColor();
@eval editorLinkedGroupColor org.eclipse.che.ide.api.theme.Style.theme.getEditorLinkedGroupColor();
@eval editorLinkedGroupBackground org.eclipse.che.ide.api.theme.Style.theme.getEditorLinkedGroupBackground();

.orionCodenvy {
    font-family: editorFontFamily;
    font-size: 13px;
    color: editorDefaultFontColor;
}

.orionCodenvy input {
    /* duplicated from Core.css gwt-TextBox style */
    outline: none;
    border-radius: 0;
    box-shadow: none;
    text-align: start;
    color: textFieldColor;
    background-color: textFieldBackgroundColor;
    border: 1px solid textFieldBorderColor;
    font-size: textFieldFontSize;
    font-family: textFieldFontFamily;
    min-height: 22px;
    padding: 0 5px 0 5px;
}

.orionCodenvy.textview {
    background-color: editorBackgroundColor;
}

.orionCodenvy .textviewSelectionUnfocused, .orionCodenvy .textviewSelection {
    background-color: editorSelectionColor;
}

.textviewContent ::selection {
    background-color: transparent;
}

.orionCodenvy .textviewBlockCursor {
    background: white;
}

.textviewScroll {
    padding: 5px 2px 2px 2px;
}

.textviewScroll::-webkit-scrollbar-corner {
    background-color: transparent;
    display: none;
}

.textviewScroll::-webkit-resizer {
    display: none;
}

.textviewContent ::-moz-selection {
    background: #256C9F;
}

.textviewContent ::selection {
    background: #256C9F;
}

.orionCodenvy .textviewLeftRuler {
    border-right: none;
}

.orionCodenvy .textviewRightRuler {
    border-left: 1px solid tabBorderColor;
}

.orionCodenvy .textviewInnerRightRuler {
    overflow: visible;
    top: 3px;
    bottom: 12px;
    border-left: none;
}

.orionCodenvy.textviewBlockCursor {
    background-color: editorCursorColor;
    opacity: 1;
}

.orionCodenvy .ruler.annotations {
    background-color: editorGutterLineNumberBackgroundColor;
}

.orionCodenvy .ruler.vcs {
    width: 2px;
    background-color: editorGutterLineNumberBackgroundColor;
}

.orionCodenvy .ruler.folding {
    background-color: editorBackgroundColor;
    width: 10px;
}

.orionCodenvy .ruler.lines {
    background-color: editorGutterLineNumberBackgroundColor;
    width: 38px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-right-style: solid;
    border-right-width: 11px;
    border-right-color: transparent;
}

.orionCodenvy .ruler.overview {
    background-color: editorBackgroundColor;
}

.orionCodenvy .ruler.zoom {
    width: 66px;
    height: 100%;
    border-left: none;
}

.orionCodenvy .rulerLines {
    font-family: "DejaVu Sans Mono", alternativeFontFamily;
    font-size: 11px;
    color: editorGutterLineNumberColor;
    line-height: 13px;
    border: 1px solid editorGutterLineNumberBackgroundColor;
    box-sizing: border-box;
}

.orionCodenvy .rulerZoomWindow {
    background-color: rgba(0, 0, 0, 0.2);
    margin-left: 0px;
    border: 1px solid rgba(188, 195, 199, 0.2);
    position: absolute;
    width: literal("calc(100% - 0px)");
    border-radius: 3px;
    z-index: 100;
    box-sizing: border-box;
}

.textviewZoom {
    font-size: 2px !important;
    cursor: pointer;
    box-sizing: border-box;
    border-left: 1px solid transparent;
    border-right: 5px solid transparent;
}

.textviewTooltip {
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    background-color: completionPopupBackgroundColor;
    color: completionPopupItemTextColor;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 7px !important;

    border: 1px solid completionPopupBorderColor;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.5);
    line-height: 14px;
    cursor: default;
    outline: none;
}

.textviewTooltip em {
    line-height: 20px;
}

.textviewTooltip .tooltipRow {
    display: block;
    position: relative;
}

.textviewTooltip .tooltipImage {
    display: table-cell;
    vertical-align: top;
    padding-top: 1px;
    width: 18px;
}

.textviewTooltip .tooltipImage {
    margin-left: 0px;
}

.textviewTooltip .tooltipTitle {
    display: table-cell;
    max-width: 400px;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.tooltipTheme.textview {
    background-color: InfoBackground !important;
    color: InfoText !important;
}

.textViewTooltipOnHover {
    overflow: auto;
}

.orionCodenvy .textViewFind {
    background-color: activeTabBackground;
    color: mainFontColor;
    font-family: mainFontFamily;
    border: 1px solid black;
    border-radius: 0px;
    parring-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 24px;
}

.orionCodenvy .textViewFindButton.checked {
    color: buttonFontColor;
}

.orionCodenvy .textViewFindCloseButton {
    border: 1px solid transparent;
    background: transparent url() no-repeat;
    min-width: 18px;
    min-height: 18px;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 5px;
    top: 8px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0.8;
}

.orionCodenvy .textViewFindCloseButton:hover {
    opacity: 1;
}

.contentassist {
    background-color: completionPopupBackgroundColor;
    font-size: 9pt;
    max-width: 350px;
    max-height: 170px;
    overflow: hidden;
    width: 300px;
    height: 200px;
}

.contentassist:hover {
    overflow-y: auto;
}

.contentassist .proposal-noemphasis-title-keywords {
    background-color: completionPopupSelectedItemBackgroundColor;
}

.contentassist .proposal-noemphasis-title {
    background-color: completionPopupSelectedItemBackgroundColor;
}

.contentassist .proposal-noemphasis-title::before {
    content: "- ";
}

.contentassist .proposal-noemphasis-title::after {
    content: " -";
}

.contentassist > div:hover {
    border-left: 1px solid #4EABFF;
    background-color: completionPopupSelectedItemBackgroundColor;
    border-radius: 3px;
}

.contentassist > div.proposal-hr:hover {
    background-color: white;
    background: none;
}

.contentassist .proposal-name {
    font-weight: normal;
}

.contentassist .selected {
    background: completionPopupSelectedItemBackgroundColor;
    border-radius: 3px;
}

.orionCodenvy .comment {
    color: #808080;
}

.orionCodenvy .constant {
    color: keyword;
    font-weight: normal;
}

.orionCodenvy .annotation {
    color: smeta;
}

.orionCodenvy .keyword {
    color: keyword;
    font-weight: normal;
}

.orionCodenvy .string {
    color: string;
}

.orionCodenvy .entity-name-tag {
    color: tag;
}

.orionCodenvy .entity-other-attribute-name {
    color: attribute;
}

.orionCodenvy .keyword-operator {
    color: #ddd;
}

.orionCodenvy .meta.annotation.currentLine {
    background-color: editorCurrentLineColor !important;
}

.orionCodenvy .meta.tag {
    color: tag;
}

.orionCodenvy .meta.preprocessor {
    color: #A4A4A4;
}

.annotationHTML {
    margin-left: 1px;
}

.orionCodenvy .annotationHTML.error {

    background-image: url("") !important;
    margin-top: -4px;
    width: 14px;
    height: 14px;
    margin-left: 3px;
}

.orionCodenvy .annotationHTML.warning {

    background-image: url("") !important;
    margin-top: -4px;
    width: 14px;
    height: 14px;
    margin-left: 3px;
}

.orionCodenvy .annotationHTML.collapsed {

    width: 8px;
    background-image: url("");
}

.orionCodenvy .annotationHTML.expanded {

    width: 8px;
    background-image: url("");
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.orionCodenvy .annotationHTML.overlay {

    background-image: url("");
}

.orionCodenvy .annotationHTML.currentBracket {

    background-image: url("");
}

.orionCodenvy .annotationHTML.matchingBracket {

    background-image: url("");
}

.orionCodenvy .annotationOverview.error {
    background-color: #D84C4C;
}

.orionCodenvy .annotationOverview.warning {
    background-color: #F8E71C;
}

.orionCodenvy .annotationOverview.currentBracket {
    background-color: #DDDDDD;
    box-shadow: inset 0px 0px 0px 1px #4EABFF;
}

.orionCodenvy .annotationOverview.matchingBracket {
    background-color: #DDDDDD;
}

.orionCodenvy .annotationOverview.currentLine {
    background-color: #4EABFF;
}

.orionCodenvy .annotationOverview.matchingSearch {
    background-color: rgba(78, 171, 255, 0.25);
}

.orionCodenvy .annotationOverview.currentSearch {
    background-color: rgba(73, 143, 226, 0.40);
    box-shadow: inset 0px 0px 0px 1px #4EABFF
}

.orionCodenvy .annotationRange.currentBracket {
    color: #FEEE35;
    background-color: #3C514D;
}

.orionCodenvy .annotationRange.matchingBracket {
    color: #FEEE35;
    background-color: #3C514D;
    outline: 1px solid red;
}

.orionCodenvy .annotationRange.matchingSearch {
    border: 1px solid matchingSearchBlockBorderColor;
    border-radius: 2px;
    background-color: matchingSearchBlockBackgroundColor;
}

.orionCodenvy .annotationRange.currentSearch {
    border: 1px solid currentSearchBlockBorderColor;
    border-radius: 2px;
    background-color: currentSearchBlockBackgroundColor;
    color: #FFFFFF;
}

.orionCodenvy .annotationRange.currentLinkedGroup {
    color: editorLinkedGroupColor;
    background-color: editorLinkedGroupBackground;
}

.orionCodenvy .annotationRange.selectedLinkedGroup {
    color: editorLinkedGroupColor;
    background-color: editorLinkedGroupBackground;
}

.orionCodenvy .annotationLine.currentLine {
    background-color: editorCurrentLineColor !important;
}

.orionCodenvy .comment.block.documentation {
    color: comment;
}

.orionCodenvy .variable.parameter {
    color: #48D4C9;
}

.orionCodenvy .variable.language {
    color: #B985A8;
    font-weight: bold;
}

.support.type.propertyName.css{
    color: #00bcd4;
}
